package com.zcr.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

public class Role {

  @TableId(type= IdType.AUTO)
  private Integer roleid;

  private String rolename;
  private Integer pron;
  private String permissionid;


  public Integer getRoleid() {
    return roleid;
  }

  public void setRoleid(Integer roleid) {
    this.roleid = roleid;
  }


  public String getRolename() {
    return rolename;
  }

  public void setRolename(String rolename) {
    this.rolename = rolename;
  }


  public Integer getPron() {
    return pron;
  }

  public void setPron(Integer pron) {
    this.pron = pron;
  }


  public String getPermissionid() {
    return permissionid;
  }

  public void setPermissionid(String permissionid) {
    this.permissionid = permissionid;
  }

  @Override
  public String toString() {
    return "Role{" +
            "roleid=" + roleid +
            ", rolename='" + rolename + '\'' +
            ", pron=" + pron +
            ", permissionid='" + permissionid + '\'' +
            '}';
  }

}
